package com.ruoyi.channel.service;

import com.ruoyi.channel.domain.ChannelMsgSent;
import com.ruoyi.channel.domain.vo.TChannelDataConfVo;
import com.ruoyi.channelApi.domain.vo.TChannelPushVo;
import java.util.Map;

public interface ChannelDisService {

    /**
     * 处理分配记录
     */
    Map<String, String> backChannelCustomerInfo(Long channelPushId);

    /**
     * 分配渠道推送客户
     */
    Map<String, String> disChannelCustomer(TChannelDataConfVo tChannelPushVo, TChannelPushVo channelPushVo);

    /**
     * 处理渠道要分配的人员信息
     */
    void channelDisUserId(Long channelDataId);


    // 给管理者发送消息
    void sentToAdminMsg(ChannelMsgSent channelMsgSent);

    // 给业务员发送消息
    void sentToBusMsg(ChannelMsgSent channelMsgSent);


    void sentToAdminDis(Long userId,  String channelName, String msg);

}
